package com.netty.demo.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类主入口，用于使用 jar的方式启动
 * @author yxl
 */
@EnableAsync
@EnableScheduling
@EnableTransactionManagement
@MapperScan(value = "com.netty.demo.server.dao")
@SpringBootApplication
public class NettyDemoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(NettyDemoServerApplication.class, args);
    }

}
